#facebox .b {
  background:url(../images/b.png);
}

#facebox .tl {
  background:url(../images/tl.png);
}

#facebox .tr {
  background:url(../images/tr.png);
}

#facebox .bl {
  background:url(../images/bl.png);
}

#facebox .br {
  background:url(../images/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  font-family: "Tahoma";
  font-size: 12px;
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
	background-color: #fff;
	border: 1px solid #555;
}

#facebox .body .content {
	overflow: auto;
	margin: 0px;
	position: relative;
	padding: 5px 10px;
	border: 1px solid #fff;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .faceboxTitle {
	font-size: 14px;
	color: #53848f;
	
	/*background-color: #6d84b4; ***default facebook*/
	/*border: 1px solid #3b5998; ***default facebook*/
	
	background-color: #b1dae3;	
	border: 1px solid #76bccc;
	font-weight: bold;
	margin: -1px;
	margin-bottom: 0px;
	padding: 5px 10px;
}

#facebox .footer {
	background-color: #f2f2f2;
	border-top: 1px solid #ccc;
	padding: 4px 10px;
	text-align: right;  
}

#facebox .footer input[type="button"] {
		font: normal 12px Tahoma, sans-serif;
		padding: 6px 10px;
		-webkit-border-radius: 2px 2px;
		-moz-border-radius: 2px 2px;
		border: solid 1px rgb(153, 153, 153);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221)));
		background: -moz-linear-gradient(#ffffff, #dddddd);
		color: #333;
		text-decoration: none;
		cursor: pointer;
		display: inline-block;
		text-align: center;
		text-shadow: 0px 1px 1px rgba(255,255,255,1);
		line-height: 1;
}

#facebox .footer input[type="button"]:hover {
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221)));
		background: -moz-linear-gradient(#F8F8F8, #DDDDDD);
}

#facebox .footer input[type="button"]:active {
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); 
		background: -moz-linear-gradient(#CCCCCC, #DDDDDD);		
}

#facebox .footer input[type="button"].faceboxSubmit {
		font: normal 12px Tahoma, sans-serif;
		padding: 6px 10px;
		-webkit-border-radius: 2px 2px;
		-moz-border-radius: 2px 2px;
		border: solid 1px rgb(153, 153, 153);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221)));
		background: -moz-linear-gradient(#ffffff, #dddddd);
		color: #333;
		text-decoration: none;
		cursor: pointer;
		display: inline-block;
		text-align: center;
		text-shadow: 0px 1px 1px rgba(255,255,255,1);
		line-height: 1;
}

#facebox .footer input[type="button"].faceboxSubmit:hover {
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221)));
		background: -moz-linear-gradient(#F8F8F8, #DDDDDD);
}

#facebox .footer input[type="button"].faceboxSubmit:active {
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); 
		background: -moz-linear-gradient(#CCCCCC, #DDDDDD);		
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #FFF;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
